Platform Explorer / Nuxeo Platform 6.0

Component org.nuxeo.ecm.platform.faceted.search.widgets

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.faceted.search.widgets">

  <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
    point="widgettypes">

    <widgetType name="faceted_search_users_suggestion">
    <!-- deprecated since 5.7 , the widget type "multipleUsersSuggestion" is used instead-->
      <configuration>
        <categories>
          <category>configuration_not_ready</category>
        </categories>
      </configuration>
      <documentation>
        Widget allowing to search and select one or more users with a suggestion
        box.
      </documentation>
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/user_suggestion_widget_template.xhtml
      </property>
    </widgetType>

    <widgetType name="faceted_search_wrapper">
     <!-- deprecated since 5.7 , a widget of type "container" is used instead-->
      <documentation>
        Template widget dedicated to wrap other sub widgets. It displays the
        widget label, and list the sub widgets below according to the
        wrapperMode. The sub widgets can use 3 wrapperMode (to be defined in the
        sub widget properties): - row: the sub widget label is displayed on one
        row, and the sub widget content on another row. - column: the sub widget
        label and content are displayed on the same row - noLabel: the sub
        widget label is not displayed at all.
      </documentation>
      <configuration>
        <categories>
          <category>configuration_not_ready</category>
        </categories>
      </configuration>
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/faceted_search_wrapper_widget_template.xhtml
      </property>
    </widgetType>

    <widgetType name="all_saved_faceted_searches_selector">
      <documentation>
        Since 5.7
        Widget displaying all the saved faceted searches. It displays 3
        search categories: - Your searches: your saved faceted searches - All searches:
        all the other users shared saved faceted searches - Contributed searches:
        all contributed searches (content views with faceted search flag)

        The "outcome" property needs to be defined: on which JSF view should we
        redirect after selecting a saved search.
      </documentation>
      <configuration>
        <categories>
          <category>configuration_not_ready</category>
        </categories>
      </configuration>
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/all_saved_faceted_searches_selector_widget_template.xhtml
      </property>
    </widgetType>

    <widgetType name="faceted_search_directory_tree">
    <!-- deprecated since 5.7 , the widget type "select_l10n_vocabulary_tree" is used instead-->
      <documentation>
        Widget allowing to select one or more values from a Tree constructed
        from the directory tree specified in the directoryTreeName property.
        <code>
          <widget name="dc_coverage" type="faceted_search_directory_tree">
            <labels>
              <label mode="any">label.faceted.search.coverage</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>fsd:dc_coverage</field>
            </fields>
            <properties widgetMode="any">
              <property name="directoryTreeName">byCoverageNavigation</property>
              <property name="wrapperMode">noLabel</property>
            </properties>
          </widget>
        </code>
      </documentation>
      <configuration>
        <categories>
          <category>configuration_not_ready</category>
        </categories>
      </configuration>
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/faceted_search_directory_tree_widget_template.xhtml
      </property>
    </widgetType>
  </extension>

</component>